package com.imooc.order.server.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Author: wangjunjie 16:45$ 2018/6/3$
 * @Description:$params$
 * @Version: 1.0.0
 * @Modified By: xxx 16:45$ 2018/6/3$
 */
@Component
@RefreshScope
@ConfigurationProperties("girl")
@Data
public class GirlConfig {

    private String name;

    private Integer age;
}
